//
//  VStackPage.swift
//  PracticeDemo
//
//  Created by 顾浩然 on 2025/1/22.
//

import SwiftUI

struct VStackPage: View {
    var body: some View {
        VStack(
            //leading左对齐 center中对齐 trailing右对齐
            alignment: .trailing
        ){
            Text("i like china")
            Divider()   //分割线
            Text("make america great again")
        }
    }
}

struct VStackPage_Previews: PreviewProvider {
    static var previews: some View {
        VStackPage()
    }
}
